export default function getContent(code: string, active: string = "验证邮箱") {
  return `<!DOCTYPE html>
    <html lang="en">
    
    <head>
      <meta charset="UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Document</title>
      <style>
        * {
          padding: 0;
          margin: 0;
        }
    
        .warpper {
          margin-top: 30px;
          overflow: hidden;
          margin-bottom: 30px;
        }
    
        h1 {
          text-align: center;
        }
    
        .content {
          padding: 10px;
          width: 80%;
          margin: 0 auto;
        }
    
        .code {
          color: #17A8CD;
        }
      </style>
    </head>
    
    <body>
      <div class="warpper">
        <div class="content">
          【Flaging】您正在${active}，您的验证码是 <span class="code">${code}</span>，有效期为 5 分钟，请勿泄露给他人。
        </div>
      </div>
    </body>
    
    </html>`;
}
